[SQL] Add a custom serializer for maps since they do not have a no-arg constructor.