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.