Per https://www.lua.org/manual/5.4/manual.html the `string.len("a\000bc\000")` return value should be `5` not `9`. Switch over to fmlib_parse which does Unicode parsing correctly, and where we have already done similar escape sequences for JSON.