EZP-21599: Fixed a bug in method operation process

The body return value wasn't modified with what the method might
have returned