added imago for json endpoints