[FEATURE] Support for single embedded resources

Embedded resources are always represented as an array
in HAL whether they are multi-values or single resources
(e.g. invoiceItems vs customer).

With this change single-item embedded resources are properly
detected.