Use new feature printing interface to print JSON as well as strings.