Make the curly parser return leaf node name as a one-item list
to simplify making a path when walking it.
Adjust curly parser tests to reflect changes.