Update Readme: Using to_json instead of JSON.generate 

Using to_json instead of JSON.generate, Cosmetic Change :grin: