Add ResponseFormat field, and work on api http response