Fixed race conditions with L1 cache for memcached provider; fixed string serialization