[server] Remove unused code
[server] Use JSON body from trunk hook