added new example for actually generating JSON, as the previous examples are just for parsing it. I also added the 'original' JSON document that we are creating in gen_example.c