Moved Commute-to-JSON conversion to model.