fix ehcacheEntityCache to use copyRead & copyWrite
ehcacheEntityCache will only store serializable entities