Serialize hook should be intelligent about getting properties from the model