generalize, allow optional fields
add general type id conversion, add "collection" type
add types: masters thesis, phd thesis