Add API to capture bot JSON for source control