Changed metadata={} default argument to metadata=None

Defaults are defined at class-definition, and should be immutable.
Otherwise, if the default is modified in place in any instance,
it propagates to all instances