Fixed bug where multiple concurrent getColor queries would overwrite each
others internal data. Wrapped helper function in an object.
fixData function was only needed because the server was formatting the
totalIn and totalOut values as decimals rather than leaving them in Satoshis.