Fixed problem with Json files and added client storage api