Update app.rb

adding content types to xml and json endpoints