add serialization for  bucket
Merge pull request #54 from isururanawaka/master

add serialization for  bucket