Make sure django params are in the correct order. Simplify parameter contruction to single function. Return a list instead of a dictionary of values to ensure order