how to convert a python dict object to a java equivalent object?,"map.put(key, new_value)"