Sinatra application exposing any database query results as a JSON streaming API.