Fix Dialyzer invalid contract warning

The call msgpack:pack(Term::#{},[{'enable_str','true'} | {'format','map'},...])
breaks the contract (msgpack:object(),msgpack:options()) -> binary()