Enabled JSON body setting for request and fixed read sample.