fixed best matches for json exceptions