Implement JSON serialization on most built-in data types. Update to Rust 2021 profile. Update lockfile.