diff --git a/cpp_coveralls/coverage.py b/cpp_coveralls/coverage.py
index <HASH>..<HASH> 100644
--- a/cpp_coveralls/coverage.py
+++ b/cpp_coveralls/coverage.py
@@ -311,7 +311,7 @@ def collect(args):
                     src_report['coverage'] = parse_gcov_file(fobj)
                     src_files[src_path] = combine_reports(src_files.get(src_path), src_report)
 
-    report['source_files'] = src_files.values()
+    report['source_files'] = list(src_files.values())
     # Also collects the source files that have no coverage reports.
     report['source_files'].extend(
         collect_non_report_files(args, discovered_files))
Fixed issue with python 3 returning a view