implemented json schema for modules