pattern loading from embedded json file