server side wordpress meets client side json