Do we want to return text or json?