added converting to the string in right way boolean values from the server