Hooking up Sinatra for testing
Adding JSON conversion helpera