overhauling BtcJson, more to come tomorrow.