Update to use rustc_serialize instead of serialize