rpc method modified according to fetch the resource info

* According to the requirement converted all keys in dictionary into strings in each document