import { MiddlewareCallback } from '.' ; import GleeMessage from '../lib/message' ; export default ( message , next ) => { try { message . payload = JSON . stringify ( message . payload ) ; } catch ( e ) { } next ( ) ; } ;