View::respondJson now has a second parameter "headerCode"