media into dict