Implementation of API client with SWIFT using Alamofire and rxSwift

I'm trying to implement solution from http://kean.github.io/post/api-client which I really like, but I've encountered some problems.

The source code is here: https://github.com/gentoo-pl/ApiTest


The problem is in Model/Client.swift:52 - Type 'JSON' (aka 'Any') has no member ' init '

and in the file Model/API/ApiDev.swift:16 - Generic parameter 'Response' could not be inferred


I'm not experienced in SWIFT yet and apologize if these are trivial mistakes but thanks in advance for any tips.