allowing inclusion of link.[pattern-name] in JSON