Check if values need to be converted before they get mogrify'd

def _check_values(in_values):
        """ Check if values need to be converted before they get mogrify'd
        """
        out_values = []
        for value in in_values:
            # if isinstance(value, (dict, list)):
            #     out_values.append(json.dumps(value))
            # else:
            out_values.append(value)

        return tuple(out_values)