added handy dandy json endpoint