need json gem to run example code