[api] Refactor PropertyField serializer.