Add 'format' function, which converts from the selected object to a displayable string.

And in this case, the 'selectedObject' will have the picked object, not some custom object type, so it can be used as a 'select' field.