           
         return pawRequest
     
+    @json_from_definition_schema = (swaggerCollection, property, indent = 0) ->
+      
+        if property.type == 'string'
+            s = "\"string\""
+        else if property.type == 'integer'
+            s = "0"
+        else if property.type == 'boolean'
+            s = "true"
+        else if typeof(property) == 'object'
+            indent_str = Array(indent + 1).join('    ')
+            indent_str_children = Array(indent + 2).join('    ')
+            
+            if property.items
+              property = property.items
+              s = "[\n" +
+                  "#{indent_str_children}#{@json_from_definition_schema(swaggerCollection, property, indent+1)}" +
+                  "\n#{indent_str}]"
+            else
+              property = swaggerCollection.definitions[property["$ref"].split('/').pop()] if property["$ref"]
+              property = property.properties if property.properties # Skip properties
+                          
+              s = "{\n" +
+                  ("#{indent_str_children}\"#{key}\" : #{@json_from_definition_schema(swaggerCollection, value, indent+1)}" for key, value of property).join(',\n') +
+                  "\n#{indent_str}}"
+
+        return s
+        
     @createSwaggerRequestUrl = (swaggerCollection, swaggerRequestPath, queries) ->
       
         # Build swaggerRequestQueries


        if not valid
          throw new Error "Invalid Swagger file (invalid schema or schema version < 2.0)"
          
        if swaggerCollection
          
          # Create a PawGroup

        headers = {}
        queries = {}
        formData = {}
        body
        
        # Extract contentType from Consumes and add the first one to Headers
        if swaggerRequestValue.consumes
