refactor VectorProperty::valueAsString() method and adapt code