allow loading/saving of partial objects

Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>