Reverted toMap additions.

- The toMap method has been removed entirely.
- JPA initialization is done with the same logic used by Candlepin.