Formatting the jsonPayload of a Wix Log entry like...well, JSON

Does anyone know how to format the information passed to logging (for example via console.info) so that JSON objects can be readable in the Wix Log viewer JSON panel? Right now everything is mashed together and I need to copy it out, remove the escaped quotes, and then paste it into a JSON formatting tool. It seems there should be a way to do this so I can just use the native Wix viewer since it is already a JSON viewer.