- add json to resources.rb