Ordered output by name

Hi,

When we go through an JSON object to print it, the order is not guaranteed. For my needs (in a pretty big project), I wanted to have an ordered output so it's easier for me to see exactly the changes of the files when I need to submit them in Git for example.