* introduce webhook operations to the operations API and persistence * add unit tests for webhooks in operations endpoint handler * fixes and additional testing in webhook operations handler * cleanup refactor around operations handling to reduce duplicate code