Changed license to GPLv3. Fixed non-uniform indentation and formatting. Added typedefs JsonObject and JsonArray.
Added an example program.