Modify download command to preserve profile.json, and merge in new content from download profile.json if it does not conflict with current content.