sort keys in the json serializer