Unpack Function Arguments from Dictionaries in Python