Fix deprecated collections import
Minor refactoring of collections import to avoid this DeprecationWarning:
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working
class Status(collections.Mapping):