              "pk": "4b678b301dfd8a4e0dad910de3ae245b",
              "model": "sessions.session",
              "fields": {
                  "expire_date": "2013-01-16T08:16:59.844Z",
                  ...
              }
          }
      ]
  
  The formatting here is a bit simpler than with XML. The whole collection
 
</s> remove     >>> mapping = {'name' : 'str', # The 'name' model field maps to the 'str' layer field.
                   'poly' : 'POLYGON', # For geometry fields use OGC name.
                   } # The mapping is a dictionary
 </s> add     >>> mapping = {
    ...     'name': 'str', # The 'name' model field maps to the 'str' layer field.
    ...     'poly': 'POLYGON', # For geometry fields use OGC name.
    ... } # The mapping is a dictionary </s> remove             ...
 </s> add             # ... </s> remove         # Your code here...
 </s> add         # Your code here
        ... </s> remove                 [...]
 </s> add                 # ... </s> remove         },
 </s> add         }
                # ...
              "pk": "4b678b301dfd8a4e0dad910de3ae245b",
              "model": "sessions.session",
              "fields": {
                  "expire_date": "2013-01-16T08:16:59.844Z",
                # ...
              }
          }
      ]
  
  The formatting here is a bit simpler than with XML. The whole collection
keep keep keep keep replace keep keep keep keep keep
 Refs #34140 -- Corrected rst code-block and various formatting issues in docs. 
docs/topics/serialization.txt