add media doctrine xml mapping