Convert schema document to new design