Fixed serialisation of the FormatPlug.