JSON regex object in test definitions