FlatToFlarejs converts your flat json data to flare tree datastructure