serialize read orientation to/from a string, add orientation unit test