I know there is a way to log it as a JSON structure:
json_combined arg
json_combined
Not sure if thats what you were thinking about doing.