better json file api