How to convert data from event emitted from blockchain into json format?

I am fetching the data using useWeb3function which gives data, but i want this data to be in readable form that is in json format and not in the form of arbitary numbers

You can give an example of what you got and what you’re trying to convert it to