Refactor contacts, campaigns and userData publications