Revert changes to numeric serializer