use OrderedDict for jsonserializer