adding json file encryption