Rename representation extend object to extended_resources.
Apply api_resources only once.