'console-message' event returns json object as [object object]

‘console-message’ event returns message as string. It returns json object as [object object] . How do i again parse it back to the json.

for ex: {a:;1 ,b:2} in console.
electron return it as [object object].

but i want json format. Help me here