How to save the output of a console.log(object) to a file? | Hacker News Reader