Feature/json exporter

A quick first pass at a JSON exporter. Would welcome some feedback around which fields are required, useful, etc.

For #5343

Note that this hasn't touched the XML export functionality at all.
We keep the person since we keep comments and need something to associate them to. And tbh. I wouldn't be surprised if there's code that explodes when there's a person without a profile.