Adding helper method to extract last modified date from entities