more flexible parsing of public keys in bin/check-assertion

handle case where it's the public-key property of an object