Ensures valid 'schemas' list if passed as dict (happens when we load metadata with extensions).