add code inspection based on json schema
move json schema related stuff to "json" package