Modified to support printing of primitive values and strings