Compress and decompress array

Compress the array stream and insert into the DB and get from db and
decompress to get the original array