improve construction data in JSON.
test castle naming function