New method for augmenting JS pool objects.
Fix some serialization issues and store entitlements again.