Corrected formation of 'key' to include square brackets.