Clean parameters before composing cache hash