private static String quoteIfString(Object o) {
        return (o instanceof String ? ("\"" + o + "\"") : o.toString());
    }
Helps documents to format a {@code toString()}-method.

@param document the document
@return         the string
runtime-parent/runtime-config/src/main/java/com/speedment/runtime/config/util/DocumentUtil.java