 
     override func spec() {
         describe("DeserializeOperatorsSpec") {
-            let testJson = ["uuid": "some id", "amount": 20, "price": 5.0, "tapped": true, "date": "1994-08-20"] as Any?
-            
+            let testAny = ["uuid": "some id", "amount": 20, "price": 5.0, "tapped": true, "date": "1994-08-20"] as Any?
+            let json = testAny as! [String: Any]
+
             context("should give value for") {
                 it("should work for relations") {
                     let relationId = ["relation 1", "relation 2"]

                
                it("should deserialize Integers") {
                    let o1 = DeserializableObject(from: ["": ""])
                    guard let json = testJson as? [String: Any] else {
                        return
                    }
                    
                    o1?.amount <-> json["amount"]
                    
                    expect(o1?.amount) == json["amount"] as! Int?

                
                it("should deserialize Doubles") {
                    let o1 = DeserializableObject(from: ["":""])

                    o1?.price <-> json["price"]
                    
                    expect(o1?.price) == json["price"] as! Double?
