backout JS object printing. instead simply allow people to implement
the desired behavior themselves.