sonata media: fix document mapping