Fix ClusterState API to have Mappings also.

Return type mapping as a dictionary of the typename followed by the mapping as "dynamic" object.