Hotfix serialization_scope for production env