Support for date and boolean in toPlist