added JSON color mapping by type text