XML parser complete - need to structure output