fix(docs): fix code indentation in serializers.md

It fixes the indentation of `restore_object()` in the section "Specifying which fields should be write-only" serializers documentation.
Merge pull request #1428 from theskumar/patch-1

fix(docs): fix code indentation in serializers.md