Added support for .errorjson mocks.  Useful for testing error cases.