Corrected bug in which a field name was trying to be generated for
non-anonymous root objects, arrays or values. (The name is now simply
dropped).