add exact option for expandKeys

default is prefix match