wrapped response to json