encode get params