Pass array of objects to controller ajax