Update JSON object to store enhanced type information