you should return the `headers` key (if there is one), rather than just returning the properties :

```php
<?php

$properties = $this->getProperties();

return isset($properties['headers']) ? $properties['headers'] : array();
```