Change dump command so that it will try KVC and Selector

Fixes the dump command so that it will try KVC first and if that raises an exception will try and acces the properties via selector