store and parse json variable