wrapper for a JSON response of the vtapi