Sinatra, MongoDB and Grape template