Working with List/Array and HashMap in FreeMarker