Fix inconsistency in user serializer