Improve parsing size values.
Use unserialize instead of deserialize.
Merge pull request #187 from tristanlins/hotfix/parsing-size-values

Improve parsing size values.
Merge pull request #188 from tristanlins/hotfix/deserialize

Use unserialize instead of deserialize.