made pair serializable for memcache use