json storage: fixed error message
json storage: fixed formatting