Adding support to add objects directly that then are serialized and adde...

...d to the index