human
I wrote the below code

    escape = ('#{%s}' % unicode(time.time()))
    def enline(line):
        return unicode(line.replace('\\|', escape)).strip()
    def deline(line):
        return line.replace(escape, '|')
    def discard_comments(lines):
        return [line for line in lines if (not line.startswith('#'))]
    lines = discard_comments(lines)
    lines = map(enline, lines)
    non_unique_keys = []
    json_map = []
    if lines:
        first_line = lines.pop(0)
        non_unique_keys = split_wisely(first_line, u'|', True)
        non_unique_keys = map(deline, non_unique_keys)
        rng_idx = len(non_unique_keys)
        json_map = list(non_unique_keys)
        for idx in xrange(rng_idx):
            json_map[idx] = dict([(non_unique_keys[idx], [])])
        for line in lines:
            values = split_wisely(line, u'|', True)
            values = map(deline, values)
            for idx in xrange(rng_idx):
                json_map[idx].values()[0].append(values[idx])
    return (non_unique_keys, json_map)

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def parse_as_json(lines):