Fix the types of the message_cost and session_cost on the transaction field (and fix the billing api tests).