converting all tags to IETF format (they were mixed)