load deserialized objects directly instead of creating a temporary buffer.