Update spec.json

Python class field was added into method spec.