Output JSON subroutines for Error::Pure.