Properly serialize subscribe options complex type