Add metadata.json as part of determining module root