Bidding agent cleanup

Cleanup of the bidding agent interface which changes all the Json::Values into meaningful C++ structs.