fill environment dict with strings instead of buffers