switch to rustc-serialize