fix json saving of comments and tags