Simplify snippet serializer
Restrict views with permissions