updated inline ratings to support product json calls