Now supports convert python dicts to js objects.