post request to json string. set_style_array and extract_style in App.pm added. work in progress (3).