fix getting json from post result - use variable directly works for me