Improvements to NetBSD's JSON library