MessagePackEncoder handles set instances.