core: #has spec OK
core: #has spec OK
core: add basic json validation