refactor remove builder pattern from ApiResponse