message: fix: avoid clobbering relatedCounts
diff: @@ -195,11 +195,13 @@ export default class OsfSerializer extends JSONAPISerializer {
  {},
  );
  + if (Object.keys(relatedCounts).length !== 0) {
  normalizedHash.data.attributes = {
  ...(normalizedHash.data.attributes || {}),
  relatedCounts,
  };
  }
  + }
  return normalizedHash;
  }
  