wrap up pic response in json