Write DateFormat attribute to json

The DateFormat attribute wasn't mapping to json.