replace `undefined` with `null` instead of the string "undefined"
update JSON schema; validate doclets against schema (#327)