How to sign in on browser given a wallet.json file?

OS: Linux Fedora
When I type: blockstack wallet in the CLI, I see everything, my name.id, coins and keys. But how can I sign in to that account from the browser?
Right now I can only restore an account, which requires an identity key. And none of my owner address are valid addresses to recover.

Do I need to place my wallet.json at a specific location?

The confusion was due to the name of the identity key, which was actually my backup phrase. Simply restore an account using the backup phrase, no need to mess around with the wallet.json file.

@dwang Can you describe the process you used to do this? There is a difference in format and storage location for the browser and the blockstack cli.