You only need to concern yourself with square brackets around tags if they appear in the Tags column of the Calibre window. Square brackets in the metadata.calibre file are Calibre internal data structure related. Make your life easy - don't open metadata.calibre