public void upload(String path, Map<String, Object> payload) {
        try {
            InputStream bais = new ByteArrayInputStream(objectMapper.writeValueAsBytes(payload));
            upload(path, bais, 0);
        } catch (IOException e) {
            LOGGER.error("Error serializing map to json", e);
        }
    }
A {@link ExternalPayloadStorage} implementation that stores payload in file.
test-harness/src/test/java/com/netflix/conductor/test/utils/MockExternalPayloadStorage.java