Right, to_json is going to leave it as a boolean instead of a string because booleans are valid JSON... Ignore my comment.