Using JSON.stringify to pretty print objects