Added marshaller to convert json to DBObject (with replacements)