Fix regression in nested relationship handling
Fix regression in nested relationship handling

Allow for a relationship to be included and linked at the same time

abhimanyusharma003/json-api,quetzyg/json-api,kirkbushell/json-api,burki/json-api,bnchdrff/json-api,tobscure/json-api,xbill82/php-json-api