preparing to get dynamic json data for better performance