Output data for appservice registration. Simply make any desired changes and serialize to JSON. Note that this data contains secrets so think twice before putting it into the nix store.
Currently as_token
and hs_token
need to be added as they are not known to this module.