Yes. The main part that you're missing is that the JSON the client sees is generated in /lib/pleroma/web/mastodon_api/views/status_view.ex. The other thing you're missing is that you shouldn't need to put parseable instructions in the subject field, and the endpoint should be able to natively ingest the instructions, but that's secondary.