Thanks Magnus,
Is that test looking to see if the tags field exists, rather than if it's empty? I put that code in specifically to remove the tags field if it contains no elements. In my configuration pipeline, it's possible that I've added values to [tags] and then removed them again by the end of processing.
I guess it's no biggy if tags in hanging around with nothing in it, but it would be nice if the configuration language supported this feature (again).
Cheers,
Nick