fixed json response rendering when creating a new item
refactored code to use sku as state, instead of setting it via client-side