improve(optimization/objectives): allows to actually sent parameters to the api
Merge remote-tracking branch 'origin/develop' into develop