auto format array responses