Utility class for generating and parsing JSON date strings