refactoring to make values simpler and take care of obs concept server side
modifying the additional obs submission to not use json and depend on the config