test for maps
fixed serialization/deserialization of interface