Improved std.json api, typesafe and easier to use