begin to convert ClientStorages to json mapping