protected function getRawProperty($name)
    {
        if (property_exists($this, 'name')) {
            if (!is_null($this->{$name}) && $this->{$name} instanceof JsonWriter) {
                return $this->{$name}->toArray();
            }
        }

        return null;
    }