replaced defn with letfn inside oj.core/exec