Have made a gereric cache solution, now i'm done guessing data types based on endpoints, and parameters