replace 'result' with 'errno'

replace field 'result' with 'errno' in JSON frames.