got document handler to handle array in path.
when retriving a document the path to the property can now include the index of an array