basic json dump works