sha1-array: convert internal storage for struct sha1_array to object_id