allow json in key pattern