BUG 17207: Add relation data to work one in formatted collection if exists
BUG 17207: add tests