replacing empty list with null for cache
Merge pull request #174 from unwin/2014.08-FB-5217-5201

replacing empty list with null for cache