The detailed activity log you see on the UI/web they have been formatted from the API response you are showing. All the data you require to present the log as you wish is available in the API response: See the image:
You can map the response to any format you wish.