Save report to a file, in JSON and text formats

As discussed in #6 :balloon: