The client is sensitive to missing metadata in packets sent from the server.
A typical example is to strip out the metadata and only send the metadata structure with 0 keys.
Also adding extra values, leaving the existing ones there too does crash the client too. Example in the second attachment, there I added the int value of 123 to the key 73.