How to send and receive customize stanzas?

Hi, everyone!

I want to send stanza like:


And then Prosody(I had made some changes) will response like:


In this situation, how could I send and receive customize stanzas like this?


Those are not stanzas. You may want to use a custom extension element within a message stanza for example.