Combine multiple hiera sources in "Host parameters"

Hi all,

I'm using "host parameters" in foreman to assign users to
hostgroups/individual host, i.e. "departments_users" as parameter. It works
pretty well if I have only a group "teamA.yaml" to assign to "teamA"
hostgroups. But sometimes both "teamA" and "teamB" should have access to
specific host, unfortunately if I specify both (separated with comma), only
the first one hiera source will be active. Is it possible to combine they
both somehow, so I don't need to create "teamA+B.yaml" ?

here is how it look in node.rb output atm.

/etc/puppetlabs/puppet/node.rb my.example.com


department_users: teamA, teamB

I'm using foreman 1.12 with last puppet 4.6.0

Best,
Stan