src/Entities/Organisations/OrganisationProfile.php
public function jsonSerialize()
    {
        return [
            'id' => $this->getId(),
            'contactPerson' => $this->getContactPerson(),
            'contactNumber' => $this->getContactNumber(),
            'enabled' => $this->isEnabled(),
            'address' => $this->getAddress(),
        ];
    }
public function jsonSerialize()
    {
        return [
            'id' => $this->getId(),
            'contactPerson' => $this->getContactPerson(),
            'contactNumber' => $this->getContactNumber(),
            'enabled' => $this->isEnabled(),
            'address' => $this->getAddress(),
        ];
    }
Specify data which should be serialized to JSON