bitpay/bitcore — pull request #737 by braydonf (2014-12-13 19:15:31+00:00)
Title: Bug/to object

- Added test to check that `toJSON` output from a Transaction could be initialized with `fromJSON`
- Fixed cases in which `toJSON` was being called instead of `toObject` within other `toObject`s