defaulting to map based serialization