JSON exports tags

Closes #78. This changes the export format to

    {
      tags: {tag: count},
      entries: [{…}, {…}, …]
    }