adding complex objects section to python, fixing typo in all the flavors
Switching ruby example to use hashes/json encoding to match python example .