Fix developerMode/jsonMode bug

Test Plan:
subperseus and make sure /devadmin/content/items/new loads successfully

Auditors: joel