Add dictionary converter method to Property

Allows converting a tree into a dictionary, for quicker access of the
subkeys.