Create a function that wraps Bitcoin's getinfo command. It should return all the information that command provides. Because there's so much information, it might be best to wrap it all in a new type. That way, as the command adds more information, we can just expand the type definition and all existing code keeps working.
Fixed in my pull request.