Fixed serialization bugs related to keyless values.