Fixes YAML values None, bool, int, and float. Fixes field names. Adds option for package name. Fixes references to other entities.