Now outputs a serialized JSON tree