Data conversion framework