Fix a bug while sending array parameters

When sending array parameters, such as 'array':[1,2,3], the old function will get a key like 'Optional("array")', which actually should be 'array'.