now if a model object is return from a controller method, the routing system serialize it into JSON (if possible) and return it back