RenderType prep for java fields
migrate the field declarations to java

also add type parameters to represent embedded records and typesafe ids.