Modify resource id and property type to string

As the graffiti service is expecting strings as resource id
and property values, convert it to string before send the request