Adding resource_name + refactoring serialize (rel 942222)

The resource_name is added in order to be able to map zippy's
resource_uri to solitude's ones.
Merge pull request #41 from davidbgk/942222-resource-uri

Adding resource_name + refactoring serialize (rel 942222)