DSL for registering serializers
Fix documentation