fixed the json import and export functions