Get and convert data from model.