fixed issue in CaptureKeyValue when value function defined by a dictionary not a class
Update README.md