If possible return instance of the schedule classes not wire json converted to hash.