fixed support for formated json storage.