src/Entities/Organisations/Organisation.php
public function jsonSerialize()
    {
        $json = parent::jsonSerialize();

        $json['types'] = $this->getTypes();
        $json['industries'] = $this->getIndustries();
        $json['profile'] = $this->getProfile();
        $json['operatingHours'] = $this->getOperatingHours();
        $json['ordersHash'] = $this->getOrdersHash();
        $json['status'] = $this->getStatus();
        $json['lastOnline'] = $this->getLastOnline();
        $json['delivering'] = $this->isDelivering();
        $json['open'] = $this->isOpen();
        $json['registeredDirectly'] = $this->isRegisteredDirectly();
        $json['currency'] = $this->getCurrency();

        return $json;
    }
public function jsonSerialize()
    {
        $json = parent::jsonSerialize();

        $json['types'] = $this->getTypes();
        $json['industries'] = $this->getIndustries();
        $json['profile'] = $this->getProfile();
        $json['operatingHours'] = $this->getOperatingHours();
        $json['ordersHash'] = $this->getOrdersHash();
        $json['status'] = $this->getStatus();
        $json['lastOnline'] = $this->getLastOnline();
        $json['delivering'] = $this->isDelivering();
        $json['open'] = $this->isOpen();
        $json['registeredDirectly'] = $this->isRegisteredDirectly();
        $json['currency'] = $this->getCurrency();

        return $json;
    }
Specify data which should be serialized to JSON