Ensure json.dumps(separators=...) works on both 2.x and 3.x