getCoreModel function

Conversion of model to a list