as this is abit of a hot-path, lets just use a if statement to detect.

```javascript
var keyNames = [];
if (properties) {
  keyNames = Ember.keys(properties);
}
```