Serialize mutable.Map

write(mutable.Map("f" -> 1)) returns [{"f":1}] before this commit. It should
return {"f":1}.