add rudimentary JSON GET support