Storing/reading full objects instead of strings