Writable nested modelserializer (merge in master)

Just merging in master.