Move the actual loading of the serializer when it actually needed
Don't load the document search setup globally
Cache serializer class
Update more failing tests