TypeCoercions: support JSON string to Map coercion

test for empty string first else we get ugly error