Adding code to transfor stored entry to schema valid one