add --output-json option to clone command