agent: Adding method to get runtime stats
agent: Adding Stats method
agent: Adding stats RPC endpoint
command/info: Adding new command
command/info: Support JSON output