Json input date and datetime should mapped with jaffa DateOnly and DateTime.Since DateOnly and DateTime doesn't have a direct constructor to take string date/datetime as
input to create, Hence implemented custom module and registered with jackson ObjectMapping to parse the json input date and datetime string to DateOnly and DateTime.