dodgy method

    $final_result= str_replace('"stop",', '"stop":', $final_result) ;