making json rendering independent of RDkit installation