add json rest api supporting;