JSON logger middleware for Connect / Express