parse and return multiple root elements