src/Entities/Addresses/Address.php
public function jsonSerialize()
    {
        return [
            'streetNumber' => $this->streetNumber,
            'streetName' => $this->streetName,
            'complex' => $this->complex,
            'suburb' => $this->suburb,
            'city' => $this->city,
            'postalCode' => $this->postalCode,
        ];
    }
public function jsonSerialize()
    {
        return [
            'streetNumber' => $this->streetNumber,
            'streetName' => $this->streetName,
            'complex' => $this->complex,
            'suburb' => $this->suburb,
            'city' => $this->city,
            'postalCode' => $this->postalCode,
        ];
    }
Specify data which should be serialized to JSON