add version to cluster state xcontent