moved Properties/Map conversion to extension methods