Python module to parse json string or python dicts/lists into objects