Fix invalid json being set on propertyConstraints