cleanup the take_ownership function a bit
-rw-r--r-- 9 .gitignore
-rw-r--r-- 273 Makefile
-rw-r--r-- 1476 README
-rw-r--r-- 7120 janssonxx.h
-rw-r--r-- 5315 test.cc
-rw-r--r-- 3468 test.json