private void parseJSONEncodedParametersOld(String encodedParameterString) {
        // NOTE: to start with we will not accept multiple objects to keep the current structure
        // if we don't have a start and end curly brace then we bail
        encodedParameterString = encodedParameterString.replaceAll("\\s+", "");
        if (!(encodedParameterString.startsWith("{") && encodedParameterString.endsWith("}")))
            log.error("Expected JSON object but didn't find the curly braces.  Skipping...");
        else if (encodedParameterString.length() < 3)
            log.error("Detected there was no data between the curly braces.  Skipping...");
        else {
            encodedParameterString = encodedParameterString.replaceAll("^\\{|}$", "");
            String[] paramStrings = encodedParameterString.split(",");
            String key; String value;
            for (String paramString : paramStrings) {
                int pos = paramString.indexOf(":");
                log.debug("index of : in [" + paramString + "]: " + pos);
                if (pos == -1)
                    log.error("Found a parameter without a colon sign.  This shouldn't happen; skipping...");
                else if (pos == 0)
                    log.error("Found a parameter without a key value.  This shouldn't happen; skipping...");
                else if (pos >= 1) {
                    // we have at least a key so lets save it off for insertion etc.
                    key = removeQuotes(paramString.substring(0, pos));
                    log.debug("found key [" + key + "] in [" + paramString + "]");
                    if (paramString.length() <= pos + 1) {
                        log.debug("Found a missing value; setting value to null...");
                        value = null;
                    }
                    else {
                        value = removeQuotes(paramString.substring(pos + 1));
                    }
                    log.debug("found value [" + showNulls(value) + "] in [" + paramString + "]");
                    addParameter(key, value);
                }
            }
        }
    }