rework cache in/out params format