elasticsearch RPC api pretty much finalized. Working on flow now...