Json4s, query result generation, introduced typedef to query
modifications to python example to use new typedef field
curl test script