Add missing task hook for minjson