1) That's not how you formulate .json. You can't simply write "example": "coconut": 23. That's illegal.
2) Solution to this would be an influence definition. However, how would you apply the influence to the building? "Influence coconut": 68 wouldn't work. Adding something like "influence": "coconut", "influence value": 38 would require a complete influence rework.