Fixes needed to make JSONY.pm pass tests