write detected buildpack to (output)/result.json