Print primitive types, objects and arrays.