jsonAsArray flag, to enable json serialization as plain data array