Fixed #4278 - inconsistent serialization in case of multiple defined caches
Merge pull request #4279 from noctarius/serialization-fix-jcache

Fixed #4278 - inconsistent serialization in case of multiple defined caches