Fix resource object media type capture group