to which one utils.serialize should belong in this case?