Fix writing annotations to manifests

Issue:	#925