Use Serializer in endpoint scaffold

Closes #16