SLING-3008 :  Render resource type (and super type) if resource can't be adapted to a map in JSON 

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1512659 13f79535-47bb-0310-9956-ffa450edef68