-check policy api fixed to contain JSON response