Rename krate in json to crate
Rename krate in json to crate

This was changed when switching from rustc serialize to serde; ember
expects the key in the JSON to be "crate" but Rust needs the field in
the struct to be named "krate". The tests didn't catch this because we
aren't testing the serialized JSON string at all; a round trip through
JSON totally worked :-/

rust-lang/crates.io,steveklabnik/crates.io,rust-lang/crates.io,steveklabnik/crates.io,steveklabnik/crates.io,rust-lang/crates.io,rust-lang/crates.io,steveklabnik/crates.io