utility library cleanup (1), json encoder stub