srl_encoder.c: Dumps PyDict