migrated rpc codec dependency to 'github.com/ugorji/go/codec'