Closes #362 - Make API data objects immutable