Once again it's to implement the JsonSerializable interface, so you can do things like json_encode($result), which is nice.