grips-css: fixed node.toString(), fixed some parsing logic and validations