Added malloc warning for decode_json function.