Refactor format_node_value so we don't need to check responds_to?