Nicer formatting for objects/arrays in console
Fix #667