Bug fixed in normalize.

`node` requires `type` key.