passing items json to controller