feature routing refactory & add json type output