updates to rais import script
optimized serlize call for faster responses