function normalizeProfile(profile) {
						if (typeof profile === 'object') {
							if ('indent' in profile) {
								profile.indent = !!profile.indent;
							}

							if ('self_closing_tag' in profile) {
								if (typeof profile.self_closing_tag === 'number') {
									profile.self_closing_tag = !!profile.self_closing_tag;
								}
							}
						}

						return profile;
					}
Normalizes profile definition: converts some
properties to valid data types
@param {Object} profile
@return {Object}