<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_native(self, obj):
 """Remove password field when serializing an object"""

        ret = super(UserSerializer, self).to_native(obj)
        del ret['password']
        return ret