read date from json