diff -r 621ad47c7c86 -r 7cb02ab4f321 hooks/syncschema.py --- a/hooks/syncschema.py Tue Dec 22 16:16:07 2015 +0100 +++ b/hooks/syncschema.py Tue Dec 22 10:39:05 2015 +0100 @@ -463,7 +463,7 @@ 'fulltextindexed': entity.fulltextindexed, 'internationalizable': entity.internationalizable} if entity.extra_props: - props.update(json.load(entity.extra_props)) + props.update(json.loads(entity.extra_props.getvalue().decode('ascii'))) # entity.formula may not exist yet if we're migrating to 3.20 if hasattr(entity, 'formula'): props['formula'] = entity.formula