Updated Model's to_dict() functions to as_dict() for better readability