Exposes a list of configured identities through the REST API at /keyring/identities.json
Tidy up indenting
Refactor keyring identity iteration
Only support one keyring pin per open file