Add support of custom field types, fix issue #54 (invalid date format)