Support for different param types (map or array)