Format json response to action creation