add accept method that accepts MediaType(s) without having to wrap it in a list