Add pbjson script and necessary examples