hapijs/good — pull request #277 by arb (2014-12-16 15:16:15+00:00)
Title: Added toJSON function to error object

Closes #276

Because we attach error directly, which can't be stringified, add a custom `toJSON` method to step around the problem.