$nodeType->getPropertyDefinitions returns a simple array instead of a hashmap with the property names as key. that feels pretty stupid but its not defined like this in PHPCR - i wonder if we still could rectify that.