This is because in order to add the HAL objects to the model it is converted to a dynamic, so when it comes to serialization time there is no class definition to read custom serialization attributes from.
Not a major issue, but thought it was worth mentioning somewhere as it took me a while to realise why they weren't having effect!