basic json parser/printer using Genlex