Updated to use Ruby 2.0 and remove json from input dir.