Writing data fields to a JSON object are nice