Rework keyword validation section

* Separate keywords into 4 categories: general, primitive, container, metadata.
* Get rid of section 8, merge it with container keywords instead.