add express server which returns date and JSON object dependant on input

the response should be a json object and not plain text.