Converting to native model format