Fix automation engine to honor the data type.

@lfu ```expect(ws.root("array")).to  match_array(%w(1 2 3)])``` will get rid of 1 cop issue.