more instrumentation, RPC hook for MetaDex part1