As @CrackerJackMack pointed out, it should probably be...

```python
.get('friendlyName') or blank()
```

...instead of using the dict.get default value. In some cases, the key actually exists in the dict but with a value of None. When that happens, it would use None when you intended to use the result of blank().

Other than that, this is a good solution. I was just trying to solve it for a more general case and doesn't need to be addressed here.