normalize schemas