CRM-12872 - Search js - toward popup actions
Ensure headers are set correctly for json output