now you can log any object as JSON.