Fix Issue 39: put_mapping

Fix this mistake where the document model type was replaced with the _mapping keyword.  Not sure how this method would have worked before.

Note that this fixes issue #39.