changed json parser to oj