mastodon api: add undocumented fields to json response, return app id as string like mastodon itself does