Python SDK, Grouping messages problem


I’m trying to find a way to group my similar messages for example:

unblock_user: {“value”: “x”, “comment”: “y”}

  • tag: unblock_user
  • message: {“value”: “x”, “comment”: “y”}
  • x and y are mutable values.

My ideia is to put these values my in extra data in a way that we would get:

unblock_user: {message; “User unblocked”}
additional data : {“value”: “x”, “comment”: “y”}

By doing this I can stack similar issues and still have all the info that I need.
Is this possible to do?

Thank you.