Rename get to serialize
-- whitespace
Fix primitive handling for dynamic length