json version of greenruby