Adding messages array back to response even if it is empty.