Introduced HalResourceDeserializer to facilitate deserializing incoming JSON to a HalResource.