JSON encryption and saving. Images still not supported.