Create serializer for Error Info