def _dict_to_map_str_str(self, d):
return dict([(k_v[<NUM_LIT:0>], str(k_v[<NUM_LIT:1>]).lower() if isinstance(k_v[<NUM_LIT:1>], bool) else str(k_v[<NUM_LIT:1>])) for k_v in iter(d.items())])<EOL>
Thrift requires the params and headers dict values to only contain str values.