First baby steps to generating JSON.