NXP-13123: add helper methods to create entries from select2 widgets + make existing methods more generic (wip)