Add types for json responses