Initial prototype for data export via JSON, #2