Add handler fields to the json object