Update array_to_params()

Lets developer specify parameters such as "timeOffset" and "orgOffset"