add format and status code config