improve stringify speed