To my limited understanding, the reputation of Jinn in past Islamic mythology was more like the Fae Folk in European mythology. They could be absolute terrors, they could be rules-oriented, or they could be helpful.
Western ideas of genies are basically the result of Western storytellers finding the wish-granting genies most interesting, and ignoring all the rest.
Not my field of interest though, so take it with a grain of salt.