Wrap response in json