Experimental code for producing json records

Largely a DATR exercise for me.