Use common JSON module
Drop json-functions-xs dependency