As above, if there's no = in the pair, we should handle this rather than throw an exception.  Or, maybe we should throw an exception, given that the only way this can happen is due to tampering, but we should be descriptive in the message.