Moved rest serializers to own package