added mongo query converter