Schema validation for JSON structures in Python