This pretty-prints a JSON object, with two spaces of indentation:
object
JSON.stringify(object, null, 2)