Fixing pretty generate of json, and writing a test for it
Updating change log