fixes #3858 serialization of value moved from abstract record to data/object records, added serializtion test for cache
rebase
Merge pull request #3861 from gurbuzali/jcache-record-serialization-fix

fixes #3858 serialization of value moved from abstract record to data/ob...