Hooks for 'magic' escapes handling
Reduce bitshift for magic attriutes to fit max JS size (32bits)