It seems like getContentPermalink should return the parsed object so that logic is encapsulated and not repeated elsewhere