rm commented out std::map code from json module

it was replaced by LinearMap
rename map -> oldmap and mark it as deprecated

LinearMap is quite a bit faster, and is fully owned/sendable without
requiring copies. The old std::map doesn't use explicit self and relies
on mutable fields.