Sinatra, MongoDB and Grape Template