Thinking about HAL JSON integration... still needs a good foundation.