Changed parseJson to json_decode