Changed JSON format for dates