Handles arrays of hashes as well as hashes.

Also add conversion of Vulnerabilities to Vulnerability.