Parses xsd into dict. Probably can be optimized.