Get social relation type from json object