Node utilities and middleware to assist with sending and handling jsend responses