Kernel specs REST API

The [REST API for kernel specs](https://github.com/ipython/ipython/wiki/IPEP-25:-Registry-of-installed-kernels#rest-api) is described in IPEP 25.
Question for the sake of knowing. How does `as_dict` sound with respect to `to_dict` ? For me `to_dict` seem to mutate the object, while `as_dict` return a copy. for consistency I agree with `to_dict` here. Just wondering.