Centralize viewport creation method
Convert boolean strings to boolean value