json stream api for plsql