Updated media service and resource to use String media id