more unit test and put operations now use JSON.