Fixed Printer to work with arrays as well as models