allow trailing whitespace after a key