fixed JSON support in debian