Python Expand Array And Dictionary Into Function Parameters