Standardise created responses and rendering to JSON.
Fix a bug that prevents identity creation.
Move the wallet-repository into the wallet ns.