Avoid using toString method to access to SCSS serialized state (#9530).

Change-Id: I387ae1bbc960acd5a5a588b38c6791a9c9a90690