restore compatibility with commons-codec 1.3

- 1.3 is provided with IntelliJ IDEA 12
massive code simplifications by using Gson's full power

- credit goes to Thomas Forrer