Changing inputstream string to Stringbuilder

Signed-off-by: Yousef Hamza <jo.adam.93@gmail.com>