Fix Request JSON encoding for the API

Also removed the old json_form function.
Add user detail path and update group detail for new Permissions
Add endpoint for getting a list of ship names+ids