publish: fix json nesting

generated from commit 9d16a8b0b352779d49a913d2a40c3aa456ce669e