model_printer function

Print helper for model objects