Update #serialize call in Endpoint scaffold

https://github.com/interagent/pliny-template/pull/125