Throw an exception for illegal JSON mappings

As per https://github.com/octokit/octokit.objc/pull/184#issuecomment-42882597