converts a json to a series of svgs of molecules