Sorts keys in JSON output