add R example script showing streaming line separated JSON parsing