Serialize Map in to dictionary