response format minor refactoring