Adding support to add objects directly that then are serialized and added to the index