Combines a list of JSON objects into one JSON object.

def _combine_lines(self, lines):
        """
        Combines a list of JSON objects into one JSON object.
        """
        lines = filter(None, map(lambda x: x.strip(), lines))
        return '[' + ','.join(lines) + ']'