Generalize reading and saving JSON files

Generalize the JsonSnippetFile into a JsonFile class that reads or saves
a JSON file and uses JsonTranslatorFactory to retrieve a JsonTranslator
class that can handle the specified item type stored in the file.