edited json structure with jbuilder