WINDUP-167 Duplicate values, WIP.

To my surprise, GraphTypeManager has no Map<String, Class> or such method.
Overall, the type resolving code looks a bit too complicated.
At least, this fixes the test.