code: public Object setObjectValue(StringToObjectConverter pConverter, Object pMap, String pKey, Object pValue)
              throws IllegalAccessException, InvocationTargetException {
          Map<Object,Object> map = (Map<Object,Object>) pMap;
          Object oldValue = null;
          Object oldKey = pKey;
          for (Map.Entry entry : map.entrySet()) {
              // We dont access the map via a lookup since the key
              // are potentially object but we have to deal with string
              // representations
              if(pKey.equals(entry.getKey().toString())) {
                  oldValue = entry.getValue();
                  oldKey = entry.getKey();
                  break;
              }
          }
          Object value =
                  oldValue != null ?
                          pConverter.prepareValue(oldValue.getClass().getName(), pValue) :
                          pValue;
          map.put(oldKey,value);
          return oldValue;
      }
docs: Set the value within a map, where the attribute is taken as key into the map.
  
  @param pConverter the global converter in order to be able do dispatch for
  serializing inner data types
  @param pMap map on which to set the value
  @param pKey key in the map where to put the value
  @param pValue the new value to set
  @return the old value or <code>null</code> if a new map entry was created/
  @throws IllegalAccessException
  @throws InvocationTargetException