XML string to property map function added, needs further refinement