I've written a patch that's ready for initial review:
It still needs more tests written, but everything is implemented. I based the EntityParser code on the patch that Ryan Blue wrote.
Because so much as changed, it might be easier to just review it as all new code:
All of the existing tests passed without modification and any old configs are also respected.
1. Write more tests
2. Update docs with new configuration parameters
3. Add support for CSV parsing (this requires a new Kite release)