swift support

Needed together with https://github.com/crowbar/barclamp-swift/pull/182