generate Parse and Write methods for Items object