Add function related to EMV2 properties in the EM2Util package
Factor some code