hopefully fixes unparsed json payload