Adding method to generate pojo properties to facilitate creation of POJO