added fields to json serializer