Better way to get mongodb string for heroku