Using NSError attributes when generating NSJSONSerialization error