Example of JSON parsing and writing techniques