Created directory for JSON if it doesn't exist.