using json instead of yajl