Using Sinatra to display reading through API with JSON