added serializers for snippet package