Switch over to using metadata.json.

nope, total lies, glad I asked you to review this.