change method name (toString -> stringify) and add parse method