permalink should always return a string if present or nil otherwise