There is no need to return the dictionaries modified by the client since they are "passed-by-reference" in Python.