src/Entities/Organisations/OrganisationBillingProfile.php
public function jsonSerialize()
    {
        return [
            'businessName' => $this->getBusinessName(),
            'vatNumber' => $this->getVatNumber(),
            'contactName' => $this->getContactName(),
            'phoneNumber' => $this->getPhoneNumber(),
            'email' => $this->getEmail(),
            'address' => $this->getAddress(),
        ];
    }
public function jsonSerialize()
    {
        return [
            'businessName' => $this->getBusinessName(),
            'vatNumber' => $this->getVatNumber(),
            'contactName' => $this->getContactName(),
            'phoneNumber' => $this->getPhoneNumber(),
            'email' => $this->getEmail(),
            'address' => $this->getAddress(),
        ];
    }
Specify data which should be serialized to JSON