fixed mongodb task; writes just a timestamp and the response message for now