molinify a mongodb old query