load resource schema as json string