added specific, char by char parsing for subkeys in square brackets, since they have to allow square brackets