FIX: fixed workflow IO with json directories