fixing map route to return cyjs format