reflection: convert nested entities automatically