Proper r2pipe.cmdj() implementation with basic errror handling