Allow returning JSON