php-weasel-30 Support for marshalling to/from primitive types/arrays

Fix type guessing on objects.
Update test to detect this sort of error.