massages args json into array from object