.rb -> .json conversion work