It also looks like our node_core code fail to JSONify Error objects properly... we'll need to fix that too.