added json to application.rb