Changed inputs to array of arbitrary objects