Add nested relationship support for API serialisers.