sinatra, part 1 - gets json in the before block, via route pass on data to the view