ORS sometimes returns numeric fields (e.g., "weight") as strings. This serializer accepts either a JSON number or a string number.