Add support for the json dtype to ndobject.as_py()