Currently api methods returns results as json string. The `request()` calls should set `json: true` so results are in form of object no json strings.