json status codes

This fix allows for status code to be set and JSON to be correctly passed 

the internal mime map constructor for json was overlooked to not actually stringify the view (instead it would .write the object directly)

    var r = response();
    r.statusCode = 302;
    r.json({test:2}).pipe(res)

the status code would be 200 and the body would be undefined.