An interface for creating a JSON response simply from a string