enable compression in JPT templates
more robust casting
Merge branch 'master' of github.com:lneves/javardices