fix method naming in rest serializer for warn messages