Reflection based JSON-RPC server