php json delete after a certain character

I’m printing the data returned as json on my page, but I want to delete everything after certain words.

Sample:

[
  {
    "Id": "15195456",
    "PHONE": "1XXXXXXXXXX",
    "NAME": "JESSICA",
    "SURNAME": "CLAY",
    "MOTHER": "AHMET",
    "FATHER": "AYSE",

  },

Code:

echo json_encode(["success" => "true", "data" => json_decode($result, true)]);

What I want to do is delete everything after mother, how can I do this?