Update test262 runner to serialize flags