First draft of the JSON data format and some python code to play around with it.