def to_zebra_params(params):
def to_zebra_value(value):<EOL><INDENT>transform_funcs = {<EOL>bool: lambda v: '<STR_LIT:true>' if v else '<STR_LIT:false>',<EOL>}<EOL>return transform_funcs.get(type(value), lambda v: v)(value)<EOL><DEDENT>return {param: to_zebra_value(value) for param, value in params.items()}<EOL>
Transforms the given `params` dict to values that are understood by Zebra (eg. False is represented as 'false')