Return object with informations about optimization run instead of naked status code.