Fix export in json