Fixed issue with the date type of properties in JSON writer
Fixed issue with collections in XML writer