Better validation for type.
Remove json_compat code.
Merge remote-tracking branch 'origin/1.2' into 1.2
Remove json_compat code and ensure 5.3 compat.
Remove json_compat code and ensure 5.3 compat.
Remove json_compat code and ensure 5.3 compat.
Moar tests
Merge pull request #14 from timoschaefer/1.2

Merge branch '1.2'