Fixes in methods for CRUD operations

1) Introduced xmlEncode function for generating proper Entity Name
2)Payload metadata could be specified