Make sure 'type' is an optional parameter in input_redis

I ran into a what seems to be a bug with the redis input component. the "type" parameter is not taken into account.

I hope this is the correct way to fix this !