Use object-key lookup to check for compressibility.

Specifications.json is now an object containing type objects that can
be searched by name.

JSPerf reports this as being 1.5+ times faster than using the regex.
Updated tests to work with 6e58bd.