A simple script who returns a JS object from a dotnotation string