API: allow disabling TOC in action=parse

Change-Id: If9652bbae97ce40c8695affeb28be6088949dfd2
Merge "API: allow disabling TOC in action=parse"