Fix some documentation typos
Refactor marshal_plates() to be more similar to marshal_datasets()