turn object variables into arrays

turn object variables into arrays