Switching to JSON Schema for profile validation