Takes a list of values, probably copied from a CSV, and converts to a list that can be copied into JSON or SQL IN statements.