support printing JS objects