LPS-34428 Small refactoring of ratings and comments export/import