adjust error detail
add a getter to Person, try to make Person valid
add test for general serialization case