Omit [*] node unless the array is anonymous at top level.