Make HAL+JSON strict.

Continues from #238.