Adding support for user customizations of ravendb's serializer