objectId and encoding of parameters