implemented to_json for HueBulbState class