schema: Do not marshal Hash if empty.
test
Revert "spec: default digest format is sha512"

This reverts commit b7743540b9a670870281ae5cc6cabaaf5c822b31.

Conflicts:
	SPEC.md
	examples/image.json