LIB 782 Added support for APIv3

* Added support for APIv3 
* Replaced string builder with json serializer.

Testing:
In progress