Dropping Python 2.6 support
Using sort_keys=True for json encoding to make testing easier