Add get_info command to daemon json rpc