We're big fans of json-api @balanced and I think your code could be something core to the balanced/balanced-ruby project. We currently do not support HAL however I would like to extend HyperClient for json-api support. Wanted to get your thoughts on creating a milestone that we can contribute to.