Allow to pass an object as the techOptions value

/cc @arikon @doochik