Fixed keyval parser to support multiple '=' signs