make JsonObject picklable