correctly use the HTTP response serializer, fixes #51