Also fixed getArrayOfEntityResponse