Adding json rest views