Include parse_payload and multiple_responses fields in gen. code.
Use bytearray for payload for diag requests.