It looks like the extracted variable doesn't match the variable being checked ($json vs $json_output) not sure if it should be changed in bootstrap or here?