ActiveModelSerializer: Handle embedded objects when attribute name is not plural of type

Fixes embedded object extraction when the attribute name is not
the plural form of the relationship's target type.

Fixes #1356.

See also #1348