processing config response correctly as object