text: export const generic = map => input => map[input] || input;
  
  export const timestamp = input => {
  	const match = input.match(/^(\d{4}):(\d{2}):(\d{2}) (\d{2}):(\d{2}):(\d{2})$/);
  	return new Date(
  		Date.UTC(match[1] || 0, match[2] - 1 || 0, match[3] || 0, match[4] || 0, match[5] || 0, match[6] || 0, 0)
  	);
  };
  
  export const string = input => {
  	return input.map(code => String.fromCharCode(code)).join('');
  };
  