pretty printing objects and html output