Handle non-string errors from the context before parsing results

Since the context returns an object as the error argument, don't return it to the function expecting all errors 
to be strings, but handle it right away by passing it to the callback.