Parsing of the xsd to SimpleXmlElement objects.
Serialization to codemirror schemaInfo json