Just released PMHTTP v4.0. This release supports Swift 4 and has a convenience method for parsing Decodable types from JSON.