handle json body, kaelzhang/node-modified#19