q promise error handler and shorthand promise return value for json