optimizing json with oj