Closes #362 - Make API data objects immutable

can this code case to MutableBytes and stay the same?