SERVER-8693 Do not try to reference JSON in autocomplete