code: public byte[] serialize( final MemcachedBackupSession session ) {
          final byte[] attributesData = serializeAttributes( session, session.getAttributesInternal() );
          return serialize( session, attributesData );
      }
docs: Serialize the given session to a byte array. This is a shortcut for
  <code><pre>
  final byte[] attributesData = serializeAttributes( session, session.getAttributes() );
  serialize( session, attributesData );
  </pre></code>
  The returned byte array can be deserialized using {@link #deserialize(byte[], SessionManager)}.
  
  @see #serializeAttributes(MemcachedBackupSession, ConcurrentMap)
  @see #serialize(MemcachedBackupSession, byte[])
  @see #deserialize(byte[], SessionManager)
  @param session the session to serialize.
  @return the serialized session data.