Merge "resourceloader: Throw exception when config serialization fails"