adding config objt to json of page callback