Add PickeableObject class + sorted_dict(), improve json stuff