LIB 782 Added support for APIv3

* Added support for APIv3 
* Replaced string builder with json serializer.

Testing:
* Passed updated Automated Rich Push Sample test
* Passed Automated Push Sample test