Revert "Simplify literal object dumping"