Allow array of objects in input json