Fixed orb to call the right function when serving an object