Persist any object