woriking with custom json content