Resolves #1 parsing and prepending root element