possible malformed json fix?