Writable nested serializers

Merged master into writable-nested-serializers.