Change scope of json schema libraries to compile