text/occi rendreing fixes

- fixed text/occi rendering of attributes in entity
- fixed text/occi rendering in resource