def lift_payload: .[].jsonPayload; def lift_error: lift_payload | select(.error) | .error.Error |= (sub("\n+$"; ""; "gm") | sub("\t\\*"; " →"; "g")) ;