doc updates and added strip_fields method that trims all whitespace