fix missing key in spec grid generation; add class print to to_json
fix missing key in spec grid generation; add class print to to_json

kengz/openai_lab,kengz/openai_gym,kengz/openai_lab,kengz/openai_gym,kengz/openai_gym,kengz/openai_lab