Create directory before json registration