ObjectFlattener uses Newtonsoft.Json to serialize an object structure. Then it flattens the hierarchy into a Key-Value format.