In #48 was added class `JsonFileHelper` for reading/writing JSONs from/to file. Would be fine to unify other usages of common logic by this class.