Added stream encoding to JElement.