bug fix - cachedObject now actually works with arrays ;)