stringify when JSON is available, otherwise do not cache, and forget about the order :)