Added helper for building response to ex-info