Fix post deserialization to be recursive (fixes #263)

Taken from tests/support.py :)