Added JSON rendering support