fixes encoding issue
add utility to convert msgpack to json so it can be fed into sql4json