Update PrimitiveConverter.php

Map can contain null values