Reshaping output to contain a list of objects of form { email: '', lineCount: x }.