Print an object on one line if the properties will not be printed.