json to dist