Fix nesting of apiOptions

Test Plan:
Saw fancy dropdowns in *.html

Auditors: aria