add support to serialize SimplePolynomialFunctions
Merge pull request #40 from kryptnostic/feature/serialize-spf

add support to serialize SimplePolynomialFunctions