Fix problem where the New Policy API now returns JSON instead of XML