Use JDK 8 stream methods in place of CollectionHelper.transform().