improved formatting of http and sinatra spike