* Fixed: Writing the empty list correctly requires a notion of context:
         record whether we are in a quoted or unquoted DOT label context.