function spacingToString(spacing) {

  var spacingString = ''

  if (spacing.space && spacing.layout) {
    spacingString += (spacing.space + spacing.layout)
  }

  if (spacing.align) {
    if (spacingString != '') {
      spacingString += ' '
    }

    spacingString += spacing.align.join(' ')
  }

  return spacingString

}
Given a spacing object
Convert it to a string