Fix serializer test - order of keys in dumped JSON is not consistent