diff --git a/metaextract/metaextract.py b/metaextract/metaextract.py
index <HASH>..<HASH> 100644
--- a/metaextract/metaextract.py
+++ b/metaextract/metaextract.py
@@ -50,6 +50,9 @@ class metaextract(Command):
                     'scripts', 'tests_require', 'tests_suite']:
             if hasattr(self.distribution, key):
                 data[key] = getattr(self.distribution, key)
+                # dict_items objects can not be serialized with json
+                if data[key].__class__.__name__ == 'dict_items':
+                    data[key] = list(data[key])
 
         # keep list ordered!
         for func in ['has_ext_modules']:
Fix json serialization for dict_items on py3 (#4)

With python<I>, data_files is a 'dict_items' object which is not
serializable.

Closes #4