add matching on concrete lists in java backend