I'm trying to display informations from a Json object in 5 tabs at a time with two buttons to go to the next or previous 5 tabs
What do you think would be the better way of you doing it?
It seems that you have hierarchical information here: A number of objects where each object consists of 5 datapoints.
Your UX should reflect this, for example by having two navigations. You should make clear which navigation is lower in the hierarchie. This is often done by placing the lower one below or inside the higher one.
Make sure that the position in the lower navigation is remembered when switching in the higher navigation. Example: When I am in tab 2 of object a and I switch to object b then tab 4 and than back to object a, I want to come out directly on object a tab 2 not 4.
Two layers of tabs would be an obvious but ugly example. The information requested in the comments is needed to come up with something prettier