improved v8 object generation