modify index params management to work with msgpack
it works! Time to refactor and start adding functions