fixed json() decoder to use standard json module
what the _hell_ was that thing?