Fixes #10: invalid json input files.

Fixes #10. Not sure if this has implications for libjsonfortran correctness, error detecting etc. The json_example test program runs, and passes tests. Also the format was changed of the input files to match the output of json_example.f90.