Improperly formed json makes AWS sad