Pulling global values and and merging other variables using json

@E1cid @knolleary @krambriw please check out my latest topic