Ensure pretty printing doesn't endlessly recurse