Changing name sqla2json to to_dict