small listentoJSONScalar issue resolved