class SyntaxTree::HashKeyFormatter::Identity

When formatting a single assoc node without the context of the parent hash, this formatter is used. It uses whatever is present in the node, because there is nothing to be consistent with.