Disallow ending with empty pieces in is_serialised
Disallow ending with empty pieces in is_serialised

Otherwise the empty string and strings ending with a dot get marked as being enums.

Ghostkeeper/Luna