added JSON rendering