Solved issue of json api compatibility issue.