Expanding some deeper objects into JSON strings