enhancementgood first issue
Description
I have a lot of calls to json.dumps. This can have exceptions when you serialize data, and sometimes I forget to sort the keys. I should have a generic function that I can call for this purpose.
See how to use a serializer here: https://github.com/duo-labs/cloudmapper/blob/1015ea8ddef327d29333458ef5f1599f1321ad84/commands/collect.py#L180