Metadata should be empty dict, not None