python3 support and simply to get jsondata