adding media kind to umid and many parsing fixes