public function getMetaField($fieldName)
    {
        if (property_exists($this->data, 'metadata') && property_exists($this->data->metadata, $fieldName)) {
            return $this->data->metadata->{$fieldName};
        } else {
            return null;
        }
    }