makin success messages conform to the array pattern for message json