make map type handle interfaces correctly
Merge pull request #6 from marcel-blonk/develop

make map type handle interfaces correctly